home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
tmod620.zip
/
TMODEM.DOC
< prev
next >
Wrap
Text File
|
1991-06-28
|
44KB
|
1,189 lines
Tmodem
Version 6.20
(C) Copyright 1989,90,91
Mike Bryeans
All Rights Reserved
Tmodem Command Line Switches .............................. Page 1
/S ................................................... Page 1
/R ................................................... Page 2
/U ................................................... Page 2
/F ................................................... Page 3
NOTE To WildCat! Sysops ......................... Page 3
/K ................................................... Page 4
/N ................................................... Page 4
/P ................................................... Page 4
/B ................................................... Page 5
12000/14400 Connect Messages .................... Page 5
Locked DTE/BBS programs .............................. Page 6
Locked DTE/WildCat! ............................. Page 6
/X ................................................... Page 7
/@ ................................................... Page 7
PCboard Sysops .................................. Page 8
/A ................................................... Page 8
Required Switches .................................... Page 9
Your Receive Batch File .............................. Page 9
Send Batch File ...................................... Page 10
Error Levels .............................................. Page 10
Debug Messages ............................................ Page 10
BBS/Terminal Programs ..................................... Page 10
Installation Setup and Debugging Tips ..................... Page 11
Installing Tmodem on A BBS ................................ Page 11
Installing Tmodem on a Terminal Package ................... Page 12
Terminal Interface Examples ............................... Page 14
Telix ................................................ Page 14
Locked Serial Ports and Telix ................... Page 14
Qmodem ............................................... Page 15
QT 2000 .............................................. Page 16
Pcboard ................................................... Page 16
(PCBRT.BAT) .......................................... Page 16
(PCBST.BAT) .......................................... Page 16
SpitFire BBS .............................................. Page 16
(SFEXTUPB.BAT) ....................................... Page 17
(SFEXTDNC.BAT) ....................................... Page 17
(SFEXTDND.BAT) ....................................... Page 17
(SFEXTUP.BBS) ........................................ Page 18
(SFEXTDN.BBS) ........................................ Page 18
LIMITED SHAREWARE. ........................................ Page 18
Features that will not work. ......................... Page 18
Batch Downloads ................................ Page 18
Restart Recover ................................. Page 18
Registering Tmodem ........................................ Page 18
$15.00 Registration .................................. Page 19
$25.00 Registration .................................. Page 19
Tmodem License ............................................ Page 19
LIMITED WARRANTY
This product is provided "as is" without warranty of any
kind. The entire risk as to the results and performance of
the program is assumed by you. Should the program prove
defective, you (and not Mike Bryeans) assume the entire cost
of all necessary servicing, repair or corrections.
Mike Bryeans does NOT warrant, guarantee, or make
representations regarding the use of, or the results of the
use of this program in terms of correctness, accuracy,
reliability, currentness, or otherwise; and you rely
on the program and it's results solely at your own
risk. Mike Bryeans can not accept responsiblity for system
, loss of profit, or any other special, incidental, or
consequential damage resulting from the use or inablity to
use this product.
DISTRIBUTION POLICY AND COPYRIGHT
COPYRIGHT
Regardless of the method of marketing, Tmodem is not in the
public domain. It is copyrighted by Mike Bryeans.
Copying, duplicating, selling or otherwise distributing
this product except as expressly permitted in the TEST-
DRIVE Distribution Policy below is a violation of the law.
However, you are granted the right, in fact encouraged
to make and distribute as many copies of this TEST-DRIVE
version as you wish, using any acceptable medium of exchange.
With the following provisions:
-- TEST-DRIVE Distribution Policy --
1. Please feel free to distribute this TEST-DRIVE version as
often as you like, to any interested parties.
2. Please do not distribute the program without all of its
original related files, addendum files, and documentation.
3. Please obtain our written permission prior to distribution
with any "Bundled" software packages.
4. Please do not accept payment for the program; a copying fee of
$10.00 per diskette may be charged when distributed by a
non-profit user-group.
5. Please do not alter the program or documentation in any
manner.
6. NOTE - Individuals, groups, vendors, or other software
distribution companies which market diskettes containing
the TEST-DRIVE programs for profit must obtain written
permission prior to distribution.
Tmodem v6.20 Page 1
Tmodem Command Line Switches
Each switch must be preceded by either a forward slash '/'
or a dash '-'.
S Slow Computer.
R Receive File.
U Place incoming files in this directory
F Send these files
K Keep aborted transfers
N Node Number caller is on.
P Com Port to use.
B Connect Baud Rate
X Turn log OFF
@ Name of text file containing names of files to send.
A Calibrate Serial Port.
C Cancel Error/Suggestion Screens.
/S
9600 bps and higher
Slow Computer
If you have a high speed modem you MUST have a 16550 Uart.
Attempting to run at high speeds without one will result in
errors.
Some computers may, if they are fast enough, sneak by. Most
will not.
A good way to check is by watching your transfers. If you are
under an error correcting connect, then you should almost
NEVER get an error reported by ANY transfer protocol.
Getting errors reported (by ANY transfer protocol) while
under MNP or ARQ can only mean.
1. The protocol goofed (Tmodem doesn't goof).
2. You may have some other application interfering with
serial interrupts.
3. You have hardware problems.
4. You do not have a 16550 Uart.
Since you are using Tmodem, you can rule out # 1.
If you have a 16550 installed, then you can rule out # 4 and
that leaves you with 2 or 3.
If you have a multi-tasker or a network and a 16550 then the
network and/or multi-tasker is stealing to much time and the
16550 fifo's are being over run.
Tmodem v6.20 Page 2
If you have a 16550 and NOTHING else that may interfere with
the serial interrupts, then you more than likely have
hardware problems.
If it is option 4, buy one and install it. 16550 uarts cost
about 20 dollars and are WELL worth it.
Unless you have hardware problems, we can HELP you out by
kicking in RTS flow control. This does slow down transfers,
but it is better to slow them DOWN than experience errors.
If you have to, add /S to the command line. But only use it
if you HAVE to and only until you fix the CAUSE of the
problem.
/R
Receive Files
When I encounter this switch, I will go directly to
Receive files mode.
You MUST make sure that /R is the very last switch used. If
it is not, then you will be missing important command line
switches.
/U
Place inbound files in this directory
You can direct Tmodem to place inbound files in a specific
directory by using the /U command.
I will verify the directory you specified, so make sure it is
a VALID directory.
You can not use Drive designators or ROOT directories with
the /U switch.
For instance, /UC: or /UC:\ are not valid because they
have no directory listing and I can not validate them.
You must also make sure you do NOT use a trailing backslash
with the /U path. I will ADD a backslash when I concate the
file name with the path you specified.
e.g. d:\uploads\ is NOT valid.
It should be d:\uploads
Here is a sample of a GOOD /U setting:
/UC:\TELIX\UPLOADS
Tmodem v6.20 Page 3
/F
Send These Files
When I find the /F, I will immediately begin sending.
YOU should make sure that you have listed ALL the OTHER
commands before using the /F.
Make sure you place ONE blank space between the /F switch and
the filename that follows it.
Also place one blank space between ADDITIONAL files names IF
you have specified more than one.
You may include a drive and path with the file names.
For instances, c:\uploads\file1.exe is a perfectly valid
file name.
You may also use the DOS wild card characters '?' and '*'. I
will expand those characters to match any file in that
directory.
I do not place any limits on the number of files that can
FOLLOW /F, but DOS DOES!
DOS restricts the number of characters you can place on a
command line to 128.
DOS also limits you to 9 batch parameter symbols, %1 thru
%9.
NOTE To WildCat! Sysops
Some versions of WildCat! do not
correctly passing the names of the files
to send. *IF* you tell WildCat! the
protocol is a BATCH protocol.
In this case, it sends only the NAMES of
the files, but does NOT send the location
of the files.
For instances, TMOD610.EXE would be the
only thing WildCat! sends. TMOD610.EXE
may be on Drive Q, F, or G.It ma be in
any sub-directory on any one of those
drives. It more or less says "Hey....
find this file... it's on the computer
SOMEPLACE and send it".
Tmodem v6.20 Page 4
Mustang Software was contacted about
this, but flat denied that WildCat!
did it. Don't know why they bothered to
lie about it. A dozen WilCat! sysops
verified it.
We could fix that, but the FIX is to
complex for the average person.
If you have a version of WildCat! that
does this, you can only use Tmodem in
NON-BATCH mode.
/K
Keep Aborted Transfers
If you drop carrier, time out, or something along those
lines, I will delete the aborted file.
If you are using Tmodem with a TERMINAL program, then you
will WANT to keep the file.
Adding /K to your Tmodem command line will tell ME that you
want those files kept.
NOTE: I will not keep aborted files if
you manual abort using the ESC key, even
if you DO use /K.
/N
Node Number
If you are running OSIRIS SE, you can include /Nx on the
command line.
e.g. /N1 /N2 /N3 ... /N255
Add /N*N to your protocol command lines.
I will display the callers name, city, and state at the
bottom of the screen if you provide the node number. This can
be very useful when you walk into the room and WONDER who is
currently downloading what.
/P
Com Port
You have to tell me which serial port you want Tmodem to use.
You do this by including /Px on the command line.
e.g. /P1 /P2 /P3 ... /P8
Tmodem v6.20 Page 5
Only P1 though P4 are valid for NON-Osiris SE systems.
If you are using Osiris, you can use /P5 though /P8.
/B
Connect Baud Rate
I REQUIRE that you provide the TRUE CONNECT RATE. Most of
the time this is the same as your SERIAL baud rate.
e.g. /B1200 /B2400 /B9600
For those of you running 300, 1200, and 2400 bps modems, skip
the remainder of this section. It does not pertain to you.
The only time that it would NOT be the same is if you have a
high speed modem with a FIXED serial rate. In which case,
the CONNECT rate will not always be the SERIAL rate. But
that doesn't change anything. You still must pass the TRUE
connect rate and not the SERIAL rate.
If your terminal program isn't capably of passing the CONNECT
rate then HARD CODE 0 in as the /B parameter.
e.g. /B0
I will then PROMPT you for the CONNECT rate.
12000/14400 Connect Messages
There is a little confusion about these connect messages.
They are NOT valid CONNECT RATES.
A VALID connect rate MUST be a baud rate the SERIAL port can
be SET TO.
The Serial port can not and will not accept 12000 or 14400
settings.
If the software you are using to answer the phone allows you
to define the CONNECT baud rate. ISIS does. then define 9600
pbs as the connect rate for the 12000 and 14400 connect
messages.
If the software does not, then you must turn off the extended
connect codes. The US Robotics 14.4 and Dual Standards use
&A1 to disable the extended codes.
Most programs will use a LOOKUP table to validate the baud
rate you pass them. 12000 and 14400 will generally not be
found and if the program does any type of error trapping, it
will not run.
Tmodem v6.20 Page 6
Some programs will convert the 12000 and 14400 to 9600, but
those programs are few and far between.
And some programs don't care what you pass them. They will
attempt to open the serial port without validating the rate.
If you are running a locked DTE, then you can squeak by since
it opens at the LOCKED DTE instead of the baud rate passed.
If that program happens to be a BBS, then it will pass the
invalid serial rates to external programs and if they don't
support the auto-conversion... you can have a system lockup.
Locked DTE/BBS programs
If you are setting up Tmodem as an external BBS protocol
and your BBS can't pass the TRUE CONNECT rate, you will have
to setup THREE protocol definitions. One for 1200, 2400,
and one for high speeds.
Locked DTE/WildCat!
Wildcat! is one of the BBS programs that
pass the LOCKED DTE rates. However, it
LOGS the connect rate in it's BBS Log.
By using the WildCat! log, we can do a
conversion so that you do NOT have to
use three different batch files.
Included within the Tmodem archive,
you will find a file called
"WILDCAT.EXE".
This is a self extracting archive that
contains the information needed to setup
Tmodem with WildCat.
I am sorry, but there simply is not anything that I can
do about that.
Tmodem is a "SMART" protocol that configures each transfer
according to the computer's speed, modem hardware, connect
rate, and line noise for each transfer.
Only the BBS or Terminal program can supply the CONNECT
rate. It can't be READ from any other FIXED location.
The next thing you will need to do, is to define a
environment variable called COMx=BaudRate. Replace x with
the serial port number and BaudRate with the LOCKED baud
rate.
e.g. COM1=19200
Tmodem v6.20 Page 7
Do NOT add blank spaces or comma's. Make sure you use Upper
Case.
You can do that in the AUTOEXEC.BAT file or in the BATCH file
you use to CALL Tmodem.
e.g.
cls
Echo Loading Tmodem
SET COM2=38400
Tmodem -B%1 -P%2 -R
echo Transfer Complete.
Exit
Tmodem can support up to 115,000 baud using the combined COMx
and /B switch.
/X
Turn off Log
I will write a TRANSFER log called Tmodem.Log in the current
directory. If I find OSIRIS= defined in the environment, I
will write the log in that directory.
If you do not want the me to LOG the transfers, add /X to
your command line.
/@
Name of text file containing names of files to send.
e.g. /@D:\OSIRIS\SEND2.CTL
Since DOS forces me to work with only 128 characters and 9
batch variables, so using /@ to send file names is the
preferred over /F.
The information following the @ is the full drive, path, and
file name of a TEXT file.
The TEXT file should contain the names of the files to send.
I do not place any restrictions on the number of files that
you can have listed. You can also include the full drive,
path, and name of the file.
For instances, C:\PCboard\Tlx310a.exe is valid.
You can also include the DOS wild card characters '*' and
'?'.
c:\pcboard\*.arj is a valid listing.
Tmodem v6.20 Page 8
Each line in the file must contain only ONE filename and has
to end with the DOS CR/LF sequence.
As SOON as I find the /@ switch, I will begin to send the
files listed in the TEXT control file. Therefore, you must
make sure that /@ is the very LAST switch on the command
line.
Sample TEXT Send Control File:
C:\DRIVERS\MPT110.ZIP
C:\DRIVERS\TMOD610.ARJ
C:\DRIVERS\ZMOD*.*
You MUST NOT intermix the -F and -@. You can use either one,
but not BOTH at the same time.
PCboard Sysops
Some versions of Pcboard will attempt
to intermix the two formats. In other
words, sometimes Pcboard will simply
pass the filenames, sometimes it will
pass @LISTNAME and it includes @ as
part of the filename making it impossible
for you to configure a BATCH file that
will work.
If you attempted to do a /F %3 %4 %5 with
Pcboard, you may get a send then
again Pcboard may decide to place
@D:\PCBOARD\SEND.CTL in %3. In which
case, I will SEND that file instead of
using it because it followed the /F,
indicating that it was a file to be
sent.
I have included a self extracting archive
called PCB.EXE. This file contains an
interface to STABILIZE the Pcboard
command line for Tmodem. Extract and read
the instructions contained within that
archive.
/A
Calibrate Serial Port
Some IBM XT's and IBM AT's with older ROM's have problems
dealing with high speed modems with LOCKED DTE rates.
Normally this doesn't cause problem, but since Tmodem
customizes the way it sends, it does.
Tmodem v6.20 Page 9
/A tells me to calibrate the serial port and if it is off,
make the needed internal adjustments.
This ONLY works on IBMs (not clones).
HOWEVER, one of the side effects is the detection of
inaccurate command line switches. Not all of them, but some
of them.
If you have problems getting Tmodem to work you might TRY
adding this switch, even if you do NOT have an IBM.
Required Switches
Each Tmodem installation will require TWO switches. It does
not matter what type of BBS/Terminal program you're going to
be using.
It does not matter if it's SENDING or RECEIVING.
/Bxxxxx and /Px
You should replace xxxxx in the /B with the correct
CONNECT rate or 0. Replace the x in /P with the correct COM
port.
/B9600 /P2 (Connect Rate 9600, COM 2)
/B2400 /P1 (Connect Rate 2400, COM 1)
It is not important WHERE you place the switches, As long as
they are NOT the LAST switch used.
Your Receive Batch File
Your Receive Batch file will require only one additional
switch, /R.
It MUST be the very last switch on the command line.
The MINIMUM command line for receiving would be:
Tmodem /B2400 /P1 /R
The 2400 and the 1 may be supplied by DOS batch variables.
e.g. Tmodem /B%1 /P%2 /R
They may be supplied by any other means at your disposal.
Other optional switches (/U for instants) may be included
BEFORE the /R switch.
Make sure there is at LEAST one space between switches.
Tmodem v6.20 Page 10
Send Batch File
Your SEND batch file only requires one additional switch:
/F
or
/@
Either switch MUST be the last switch on the command line.
The MINIMUM command line for sending a file:
/B2400 /P2 /F FILENAME#1 FILENAME#2 FILENAME#3
or
/B2400 /P2 /@CTRL_NAME
The 2400, 2, FILENAME#1, FILENAME#2, FILENAME#3, etc. may
be supplied by DOS batch variables.
e.g. Tmodem /B%1 /P%2 /F %3 %4 %5 %6 %7 %8 %9
They may be supplied by any other means at your disposal.
Error Levels
I will exit, following the transfer, with 1 of 2 error
levels.
0 if files were transferred or received.
1 if no files or transfers where sent.
Debug Messages
Tmodem will display a number of ERROR messages when missing
important or required command line switches.
i.e. Missing or Illegal Baud Rate.
Reference The Section(s) of this document that deal with
that particular command line setting.
BBS/Terminal Programs
I use a very basic command line setup for Tmodem. This should
allow it to be used by almost any program.
I do NOT expect that it will work with EVERYTHING.
If you are using something that it will just flat not work
with then send it to me.
Tmodem v6.20 Page 11
You can upload it or mail it and I will attempt to find out
why.
Installation Setup and Debugging Tips
The single largest problem with installing Tmodem has been
incorrect /B parameters.
I can not stress this strong enough.
You MUST pass the connect baud rate and NOT the LOCKED baud
rate.
Installing Tmodem on A BBS
Make sure you read the Tmodem.doc file at least twice and
write down all the command line switches.
Do that even if you don't think you'll need them all. It
will help a LOT and lowers the chance that you may overlook
that one little switch that will make Tmodem work with your
software.
I had one Pcboard sysop complain that Tmodem just dropped the
uploads in the current directory.
Pcboard required the uploads to go to a SPECIFIC directory
and he had to switch to that directory in his batch file.
Had he read the tmodem.doc file, he would have known that /U
could have fixed his problem.
You should NEVER attempt to install TMODEM as an external
protocol in you terminal software AND on your BBS at the
same time.
You WILL need to have Tmodem already installed and debugged
at ALL baud rates (if you have a 9600+ modem) in your
terminal package before installing it on your BBS.
Find a BBS that you KNOW has Tmodem installed, correctly, and
test your terminal setup. Make sure you test at 2400 and at
9600 (if you have a 9600 baud modem) by transferring files
to and from the BBS.
Make sure you have it tested both SEND and RECEIVE.
When it comes time to install Tmodem on your BBS, you will
KNOW which side is not correctly set up.
If you do not know of a BBS that HAS Tmodem set up correctly,
call 1-314-334-6369.
Tmodem v6.20 Page 12
Installing Tmodem on a Terminal Package
The first thing you do is to READ your terminal
programs documentation on HOW to install external programs.
Know EXACTLY HOW and WHAT your terminal program passes in
respects to command line arguments. Each terminal program
does this a little differently. Some VERSIONS of the same
terminal program do it differently.
Keeping in mind that Tmodem REQUIRES 3 switches.
These two are ALWAYS used in BOTH batch files.
/Bxxxx with xxxx being the CONNECT baud rate
/Px with x being the COM Port
Your 3rd REQUIRED switch will vary.
Your Receive batch file will use /R
Your SEND batch file will use /F <Filename>
<Filename> is the NAME of the file to Send.
Your receive batch file should also have /K, keep aborted
transfers. This allows you to RESUME the transfer at a later
date.
Most of You will be using DOS BATCH parameters to pass the
information from your terminal program to Tmodem.
e.g. Tmodem /K /B%1 /P%2 /R
e.g. Tmodem /B%1 /P%2 /F %3 %4 %5 %6 %7 %8 %9
The number following the percent sign can and will vary
depending on your software. It can also vary depending on
the version of your software. That's why I can't TELL you
what to use for a specific program.
There is an EASY method you can use to FIGURE all this out.
Place the following line in both the SEND and RECEIVE batch
files.
Echo %1 %2 %3 %4 %5 %6 %7 %8 %9
pause
Tmodem <your normal command line>
The line beginning with the 'Echo' will show you exactly WHAT
your terminal program is passing and in which % variable. You
can then adjust your command line so that the REQUIRED
arguments are supplied by the correct percent variable.
Tmodem v6.20 Page 13
The BIGGEST single problem is passing the CONNECT baud rate
to Tmodem when a 9600 baud modem is used.
Some Terminal programs (telix for instants) was not written
to handle smart protocols. It will pass the SERIAL baud rate
instead of the connect baud rate which isn't acceptable.
It is easy to debug this problem using the above
Debugging example. If the %x variable your using to pass the
baud rate contains 9600, 19200, or 38400 when you call a
2400 baud system, then your terminal program wasn't written
to handle smart protocols.
Some terminal programs (Qmodem) offer
your TWO % variables for baud rate, one
is the CONNECT rate and one is the
SERIAL rate.
The answer to the problem is to Hard code 0 in as the /B
parameter. I will then prompt you for the connect rate.
e.g. Tmodem /B0 /P%2 /R
Another common problem associated with high speed modems is
not letting me KNOW you have a locked serial port.
Be sure you set the COMx=LOCKRATE in your environment. You
can do that by including one of the following in your
autoexec.bat file. Or on the line right before you call
Tmodem.
Select one of the following that reflects your serial port
and lock rate.
SET COM1=9600
SET COM2=9600
SET COM3=9600
SET COM4=9600
SET COM1=19200
SET COM2=19200
SET COM3=19200
SET COM4=19200
SET COM1=38400
SET COM2=38400
SET COM3=38400
SET COM4=38400
If you have placed the SET command in your AUTOEXEC.BAT file,
REBOOT your computer so it will take effect.
The next thing you should do is test your setup on a BBS that
you KNOW has tmodem setup correctly.
Tmodem v6.20 Page 14
I would be very very frustrated to find out that I had spent
hours attempting to debug my installation only to find out
that the problem was on the BBS side.
If you need a BBS to test with, call 1-314-334-6359.
Terminal Interface Examples
Telix
If you have a 300, 1200, or 2400 baud modem you'll need two
batch files, one to send and one to receive.
Tsend is for Sending file(s) and Trcv.bat is setup to RECEIVE
files.
Trcv.bat calls Tmodem :
Tmodem -K -UC:\UPLOADS -B%1 -P%2 -R
Notice the -UC:\UPLOADS
This is an optional switch that directs all files received to
a holding directory called C:\UPLOADS
i.e. Tmodem -K -B%1 -P%2 -R
Trcv.bat calls Tmodem :
Tmodem -B%1 -P%2 -F %3
Locked Serial Ports and Telix
First thing you do is set up a COMx=LOCK_RATE in your
environment. Assuming Com 2 is used and the lock rate is
19,200 baud.
SET COM2=19200
This statement should be placed in your autoexec.bat file and
will be used by ALL of OUR protocol drivers.
If you are using Telix with a Fixed DTE rate then you have a
problem.
Telix always passes the SERIAL rate in the %1 variable.
The fix is simply, but does require that you pay
attention to the CONNECT message telix gives you.
You will need to take Tsend and Trcv.bat and make a couple
of small modifications.
Tmodem v6.20 Page 15
Trcv.bat calls Tmodem :
Tmodem -K -UC:\UPLOADS -B0 -P%2 -R
Notice that the %1 following the -B has been replaced with a
0 (zero).
This tells me that Telix isn't capable of passing the TRUE
connect rate. I will open a small window in the middle of the
screen displaying 4 connect rate options. You select the one
that is correct for the current session.
You need to make the same modifications to the Tsend.bat
file.
Qmodem
300/1200/2400 Modems
9600 Baud Modem, running a FLOATING serial Port
Qmodem External Download file for Tmodem.
<TDN.BAT>
Tmodem -B%3 -P%2 -K -R
Exit
Qmodem External Upload file for Tmodem.
<TUP.BAT>
Tmodem -B%3 -P%2 -F %4
Exit
9600 Baud Modem, running a LOCKED Serial Port
Qmodem External Download file for Tmodem.
<TDN.BAT>
Tmodem -A -B%3 -P%2 -K -R
Exit
Qmodem External Upload file for Tmodem.
<TUP.BAT>
Tmodem -A -B%3 -P%2 -F %4
Exit
Tmodem v6.20 Page 16
QT 2000
Protocol Definition Record
Send : -B*B -P*P -F *F
RCV : -K -B*B -P*P -R
NOTICE
I makes no claims will I accept any responsibility for the
accuracy of the PcBoard examples. They were SUBMITTED by a
Pcboard sysop and included without modifications.
Pcboard
(PCBRT.BAT)
echo off
echo %1 %2 %3 %4
copy pass.txt pcbpass.txt
e:
cd\ed11
tmodem -B%4 -P1 -R
cd\
c:
cd\pcb
(PCBST.BAT)
echo off
echo %1 %2 %3 %4
tmodem -B%4 -P1 -F %3
I makes no claims nor will I accept any responsibility for
the accuracy of the SpitFire examples. They were
SUBMITTED by a SpitFire sysop and included without
modifications.
SpitFire BBS
NOTE the -U Switch, it is -UC:\SF\EXTERNAL
DO NOT!!! ADD .. IF EXIST %3 ERASE %3 ,IF YOU DO THAT
The Files Will Dissapear!...,make SURE the -U Switch
is set at -Uc:\sf\EXTERNAL !!!!
Tmodem v6.20 Page 17
(SFEXTUPB.BAT)
BRK OFF
Echo Off
CD\SF\EXTERNAL
TMODEM -B%1 -P%2 -UC:\SF\EXTERNAL -R
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 0 GOTO GOOD
GOTO END
:GOOD
muv %3 %4
SFLOGIT TMODEM used!
:END
CD\SF
BRK ON
(SFEXTDNC.BAT)
BRK OFF
ECHO OFF
CD\SF\EXTERNAL
TMODEM -B%1 -P%2 -F %3
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 0 GOTO GOOD
GOTO END
:GOOD
SFLOGIT Tmodem Used!
:END
IF EXIST %3 ERASE %3
CD\SF
BRK ON
(SFEXTDND.BAT)
Echo Off
BRK OFF
CD\SF\EXTERNAL
TMODEM -B%1 -P%2 -F %3 %4 %5 %6 %7 %8 %9
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 0 GOTO GOOD
GOTO END
:GOOD
SFLOGIT Tmodem Used!
:END
If EXIST %3 ERASE %3
IF EXIST %4 ERASE %4
IF EXIST %5 ERASE %5
IF EXIST %6 ERASE %6
IF EXIST %7 ERASE %7
IF EXIST %8 ERASE %8
IF EXIST %9 ERASE %9
CD\SF
BRK ON
Tmodem v6.20 Page 18
(SFEXTUP.BBS)
<A> ZModem
<B> TModem
<C> ZModem Batch,Batch
(SFEXTDN.BBS)
<A> ZModem
<B> ZModem Batch,Batch
<C> TModem
<D> TModem Batch,Batch
NOTE: If you install Tmodem on any BBS program not listed and
would like to share your installation setup, type it up and
upload it to our BBS. We will include it, unaltered, in the
next release of the documentation.
****************************************************************************
I M P O R T A N T S O R E A D T H I S !
LIMITED SHAREWARE.
Tmodem is what I refer to as LIMITED SHAREWARE. That means
that you can try almost all the features before you purchase
it.
Features that will not work.
Batch Downloads: You can not RECEIVE Batches of Files. You
will be limited to only one file per download. If you tell
the BBS to send more than one, only the first will be
accepted.
Restart Recover: You may not resume an interrupted transfer.
This should NOT be confused with error recover. Resuming an
interrupted transfer means picking up on a file you started
but was aborted because carrier was lost.
****************************************************************************
Registering Tmodem
($15.00 you download Key)
($25.00 for Disk with Latest Version Mailed to You)
Fill out the Order.Frm and Mail To :
International TeleCommunications
555 North Spring, #39
Cape Girardeau Mo. 63701
Tmodem v6.20 Page 19
$15.00 Registration
You DOWNLOAD the Tmodem.key from the BBS at 1-314-334-6359.
$25.00 Registration
We will send you the key on a 5 1/2 360K diskette along
with the latest version of Tmodem.
Tmodem License
Please Read Carefully
By registering Tmodem, you indicate your acceptance of
these terms.
Tmodem ("the Software") is copyright 1989, 90, 91 by
International TeleCommunications and Mike Bryeans.
All rights are reserved. The PURCHASER is granted
a LICENSE to use the software only, subject to the
following restrictions and limitations.
1. The license is to the original purchaser only, and is not
transferable without written permission of Micro TECH
Systems, Inc.
2. The original purchase may use the Software on a single
computer or single Local Area Network owned or leased by the
original purchaser.
You may not use the software on more than one computer or one
Local Area Network even if you own or lease all of them
without the written consent.
3. The original purchaser may make back-up copies of the
Software for his or her own use only, subject to the use
limitations in this license.
4. The original purchaser may not engage in, or permit third
parties to engage in, any of the following:
A. Providing or permitting use of or disclosing the
Software to third parties.
B. Making alterations or copies of any kind in the
Software (except as specifically permitted above).
Tmodem v6.20 Page 20
C. Attempting to Un-assemble, de-compile or reverse
engineer the Software in any way.
D. Granting sublicenses, leases, or other rights in
the Software to others.
International TeleCommunications reserves the right to
terminate this license if there is a violation of its terms
or default by the Original Purchaser. Upon termination,
all copies of the Software must be immediately returned to
Micro TECH Systems, and the Original Purchaser shall be
liable to International TeleCommunications for any and all
damages suffered as a result of the violation or default.